// mock/_util.ts
function resultSuccess(data, { msg = "\u8BF7\u6C42\u6210\u529F" } = {}) {
  return {
    code: 200,
    data,
    msg,
    traceId: Date.now().toString()
  };
}

// mock/test/index.ts
var test_default = [
  {
    url: "/test/cupshapeds",
    timeout: 100,
    method: "get",
    response: () => {
      return resultSuccess([
        { label: "cpu1", value: "cpu1", color: "#52C41A" },
        { label: "cpu2", value: "cpu2", color: "#F53F3F" },
        { label: "cpu3", value: "cpu3", color: "pink" }
      ]);
    }
  }
];
export {
  test_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsibW9jay9fdXRpbC50cyIsICJtb2NrL3Rlc3QvaW5kZXgudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9faW5qZWN0ZWRfZmlsZW5hbWVfXyA9IFwiQzpcXFxcVXNlcnNcXFxcbGl5YW5nMVxcXFxEZXNrdG9wXFxcXHRlc3RcXFxcdml0ZS12dWUzLjNcXFxcbW9ja1xcXFxfdXRpbC50c1wiO2NvbnN0IF9faW5qZWN0ZWRfZGlybmFtZV9fID0gXCJDOlxcXFxVc2Vyc1xcXFxsaXlhbmcxXFxcXERlc2t0b3BcXFxcdGVzdFxcXFx2aXRlLXZ1ZTMuM1xcXFxtb2NrXCI7Y29uc3QgX19pbmplY3RlZF9pbXBvcnRfbWV0YV91cmxfXyA9IFwiZmlsZTovLy9DOi9Vc2Vycy9saXlhbmcxL0Rlc2t0b3AvdGVzdC92aXRlLXZ1ZTMuMy9tb2NrL191dGlsLnRzXCI7aW1wb3J0IHR5cGUgeyBSZXNwb25zZVJlc3VsdCB9IGZyb20gJy4vX2ludGVyZmFjZSdcblxuZXhwb3J0IGZ1bmN0aW9uIHJlc3VsdFN1Y2Nlc3M8VCA9IGFueT4oZGF0YTogVCwgeyBtc2cgPSAnXHU4QkY3XHU2QzQyXHU2MjEwXHU1MjlGJyB9ID0ge30pOiBSZXNwb25zZVJlc3VsdCB7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